﻿using System;
using System.Collections.Generic;
using CodeCamp.Models.Shared;

namespace CodeCamp.Models.Volunteers
{
  public class VolunteerListViewModel : SharedViewModel
  {
    public List<Task> Tasks { get; set; }

    public class Task
    {
      public string Name { get; set; }
      public string Notes { get; set; }
      public List<Time> Times { get; set; }

      public class Time
      {
        public DateTime Date { get; set; }
        public TimeSpan StartTime { get; set; }
        public TimeSpan EndTime { get; set; }
        public int VolunteersStillNeeded { get; set; }
      }
    }
  }
}